package day0717;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

public class test3 {
    public static void main(String[] args) {
        String[] a = new String[]{"A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"};
        ArrayList c = b(a);
        Collections.shuffle(c);//////////////////////////////////////////////////////////////////////
        System.out.println(c);
    }

    static ArrayList b(String[] a) {///////////////////////////////
        int c = 0;
        ArrayList  d=new ArrayList();////////////////////////////
        for (int j = 0; j < 4; j++) {
            for (int i = 0; i < a.length; i++) {
                d.add(a[i]);//////////////////////////////////////////
            }
        }
        return d;
    }




}
